#ifndef HISTORYMANAGERWINDOW_H
#define HISTORYMANAGERWINDOW_H

#include <QWidget>
#include <QListWidget>
#include <algorithm>
#include "global.h"
#include "urlinfoitemwidget.h"
#include <QModelIndex>
#include "notifymanager.h"
#include "historymanager.h"

namespace Ui {
class HistoryManagerWindow;
}

class HistoryManagerWindow : public QWidget
{
    Q_OBJECT


public:
    explicit HistoryManagerWindow(QWidget *parent = nullptr);
    ~HistoryManagerWindow();

    void paintEvent(QPaintEvent *event) override;

    // 刷新界面
    void updateWindow();

    void closeEvent(QCloseEvent *event) override;

    // 更新界面保存的数据
//    void updateData();

private slots:

    void on_pushButton_4_clicked();

private:
    Ui::HistoryManagerWindow *ui;
};

#endif // HISTORYMANAGERWINDOW_H
